package components.hairLayer {
	import UIFree.uif_component;
	
	import classes.clt_events;
	
	import components.clt_layer;
	import components.clt_selectBase;
	
	import data.cd_hairs;
	
	import flash.geom.Rectangle;

	public class clt_hairLayer extends clt_layer {
		private var _hairs: clt_selectBase;
		public function clt_hairLayer(parent:uif_component, a_height:int, align:String=ALIGNTOP, styleClass:String='') {
			super(parent, a_height, align, styleClass);
			var inner: Rectangle = getInner();
			_hairs = new clt_selectBase(this, cd_hairs, clt_servers.HAIR_URL + 'jpg_preview/i', clt_events.SELECTHAIR, inner.x, inner.y, inner.width, inner.height, true); 
		}
	}
}